<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of vEtat
 *
 * @author Rolland
 */
require 'vTableauStock.php';
class vEtat extends vMain{
    public function afficher($lesEntrepot, $lstArticles, $quesako){
        $leTableau = new vTableauStock();
        $this->header($lesEntrepot);
        echo '<table border="1">';
        if($quesako == 'site'){
            $leTableau->afficherSite($lstArticles);
        }
        else{
            $leTableau->afficherEntreeSortie($lstArticles);
        }
        echo '</table>';
        $this->footer();
    }
}

?>
